package com.wanxi.version3;

public class Gamer extends People{
    private String gameName;

    public Gamer() {
    }

    public Gamer(String gameName) {
        this.gameName = gameName;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    public void basicOperations(UseBasicOperations useBasicOperations){//基本操作，走路说话等
        useBasicOperations.useBasicOperations();
    }

    public void superPower(UseSuperPower useSuperPower){//使用超能力
        useSuperPower.useSuperPower();
    }


}
